home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 November / Chip Kasım 2001.iso / prog / cdcode / vmware / setup.exe / data1.cab / Program_Files / vmusb.inf < prev    next >
Encoding:
Windows Setup INFormation  |  2001-09-19  |  8.6 KB  |  255 lines

  1. ;
  2. ; VMUSB Setup Information file
  3. ; Copyright (c) VMware, Inc. 1998-2001
  4. ;
  5.  
  6. ;******************************************************************************
  7. ; Version section
  8. ;------------------------------------------------------------------------------
  9. [Version]
  10. Signature="$CHICAGO$"
  11. Provider=%S_Provider%
  12. DriverVer=12/12/2000,1.41
  13. Class=VMwareUSBDevices
  14. ClassGUID={3B3E62A5-3556-4d7e-ADAD-F5FA3A712B56}
  15.  
  16.  
  17. ;******************************************************************************
  18. ; Class Install section (optional)
  19. ;------------------------------------------------------------------------------
  20. ;
  21. ; ### modify here ###
  22. ; The following sections are required if a private device class is used
  23. ; (see also the comments above).
  24. ; The sections should be removed completely if a system-defined class is used.
  25. ;
  26. ; install class, Windows 98:
  27. [ClassInstall] 
  28. AddReg=_AddReg_ClassInstall
  29.  
  30. ; install class, Windows 2000:
  31. [ClassInstall32] 
  32. AddReg=_AddReg_ClassInstall
  33.  
  34. ; registry entries required for class 
  35. [_AddReg_ClassInstall]
  36. HKR,,,,"%S_DeviceClassDisplayName%"
  37. HKR,,Icon,,"-20"
  38.  
  39.  
  40. ;******************************************************************************
  41. ; Manufacturer section
  42. ;------------------------------------------------------------------------------
  43. [Manufacturer]
  44. %S_Mfg%=_Devices
  45.  
  46.  
  47. ;******************************************************************************
  48. ; Device section
  49. ;------------------------------------------------------------------------------
  50. [_Devices]
  51.  
  52. %S_DeviceDesc1%=_Install1, USB\Vid_0e0f&Pid_0001
  53.  
  54. ;******************************************************************************
  55. ; Install section ( Device1 )
  56. ;------------------------------------------------------------------------------
  57. ; driver-specific, Win98
  58. [_Install1]
  59. CopyFiles=_CopyFiles_sys
  60. AddReg=_AddReg_SW1, _AddReg_98, _Parameters1_98
  61.  
  62. ; device-specific, Win98
  63. [_Install1.HW]
  64. AddReg=_AddReg_HW1
  65.  
  66. ; driver-specific, Win2000
  67. [_Install1.NTx86]
  68. CopyFiles=_CopyFiles_sys
  69. AddReg=_AddReg_SW1, _Parameters1_NT
  70.  
  71. ; service-install, Win2000
  72. [_Install1.NTx86.Services]
  73. AddService = %S_DriverName%, 0x00000002, _NT_AddService, _NT_EventLog
  74.  
  75. ; device-specific, Win2000
  76. [_Install1.NTx86.HW]
  77. AddReg=_AddReg_HW1
  78.  
  79.  
  80. ;******************************************************************************
  81. ; Install section ( Device2 )
  82. ; may be repeated to support more than one device
  83. ;------------------------------------------------------------------------------
  84. ; ...
  85.  
  86.  
  87. ;******************************************************************************
  88. ; NT Service sections (Win2000 only)
  89. ;------------------------------------------------------------------------------
  90. [_NT_AddService]
  91. DisplayName    = %S_ServiceDisplayName%
  92. ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
  93. StartType      = 3                  ; demand
  94. ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
  95. ServiceBinary  = %10%\System32\Drivers\%S_DriverName%.sys
  96.  
  97. [_NT_EventLog]
  98. AddReg=_NT_EventLog_AddReg
  99.  
  100. [_NT_EventLog_AddReg]
  101. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys"
  102. HKR,,TypesSupported,  0x00010001,7
  103.  
  104.  
  105.  
  106. ;******************************************************************************
  107. ; Registry sections ( Device1 )
  108. ;------------------------------------------------------------------------------
  109. [_AddReg_98]
  110. ; required standard entries
  111. HKR,,NTMPDriver,,%S_DriverName%.sys
  112. HKR,,DevLoader,,*ntkern
  113.  
  114. [_AddReg_SW1]
  115. ; create registry key used to store configuration parameters
  116. HKLM,"%S_ConfigPath%",,,
  117. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",,,
  118.  
  119. [_AddReg_HW1]
  120. ; Create a link to the configuration key. This is absolute required!
  121. HKR,,USBIO_ConfigurationPath,,\Registry\Machine\%S_ConfigPath%\%S_DeviceConfigPath1%
  122.  
  123. ;
  124. ; ### modify here ###
  125. ; Enable the next line to create an additional private user interface for your device.
  126. ; This is strongly recommended if you ship the driver together with a product.
  127. ; DO NOT USE an existing GUID. Instead, generate a new one !
  128. ; Use guidgen.exe to generate a new GUID, copy-paste it to the the following line.
  129. HKR,,USBIO_UserInterfaceGuid,,"{2DA1FE75-AAB3-4d2c-ACDF-39088CADA665}"
  130.  
  131. ;
  132. ; Enable the next line to create a static device name.
  133. ; THIS IS NOT RECOMMENDED !
  134. ; It should be used only if compatibility to earlier versions of VMUSB is required.
  135. ;HKR,,USBIO_DeviceBaseName,,%S_DeviceBaseName1%
  136.  
  137.  
  138. ; parameters used on Windows 98, Windows ME
  139. [_Parameters1_98]
  140. ; ### modify here ###
  141. ; Set the default behaviour of the driver for Windows 98 and Windows ME.
  142. ; For a description of the parameters, refer to the VMUSB Reference Manual.
  143. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnOpen,0x00010001, 0
  144. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnClose,0x00010001, 0
  145. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",EnableRemoteWakeup,0x00010001, 1
  146. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUsed,0x00010001, 3
  147. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUnused,0x00010001, 3
  148. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",AbortPipesOnPowerDown,0x00010001, 1
  149.  
  150. ; parameters used on Windows 2000
  151. [_Parameters1_NT]
  152. ; ### modify here ###
  153. ; Set the default behaviour of the driver for Windows 2000
  154. ; For a description of the parameters, refer to the VMUSB Reference Manual.
  155. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnOpen,0x00010001, 0
  156. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnClose,0x00010001, 0
  157. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",EnableRemoteWakeup,0x00010001, 1
  158. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUsed,0x00010001, 3
  159. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUnused,0x00010001, 3
  160. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",AbortPipesOnPowerDown,0x00010001, 1
  161. HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",SuppressPnPRemoveDlg,0x00010001, 1
  162.  
  163.  
  164. ;******************************************************************************
  165. ; Registry sections ( Device2 )
  166. ; may be repeated to support more than one device
  167. ;------------------------------------------------------------------------------
  168. ; ...
  169.  
  170.  
  171. ;******************************************************************************
  172. ; Copy Files section
  173. ;------------------------------------------------------------------------------
  174. [_CopyFiles_sys]
  175. ; ### modify here ###
  176. ; Specify the correct file name of the driver binary.
  177. vmusb.sys
  178.  
  179.  
  180. ;******************************************************************************
  181. ; Options
  182. ;------------------------------------------------------------------------------
  183. [ControlFlags]
  184. ; Advanced options can be specified here.
  185. ; For details, refer to the Windows 2000 DDK.
  186.  
  187.  
  188. ;******************************************************************************
  189. ; Destination Directories
  190. ;------------------------------------------------------------------------------
  191. [DestinationDirs]
  192. DefaultDestDir  = 11    ; SYSTEM directory
  193. _CopyFiles_sys = 10,System32\Drivers
  194.  
  195.  
  196. ;******************************************************************************
  197. ; Disk Layout
  198. ;------------------------------------------------------------------------------
  199. [SourceDisksNames]
  200. 1=%S_DiskName%,,
  201.  
  202. [SourceDisksFiles]
  203. %S_DriverName%.sys=1
  204.  
  205.  
  206. ;******************************************************************************
  207. ; Text Strings
  208. ;------------------------------------------------------------------------------
  209. [Strings]
  210. ; ### modify here ###
  211. ; Edit the strings in this section to met your preferences.
  212. ; Some of the strings are shown at the user interface.
  213.  
  214. ; provider name
  215. S_Provider="VMware, Inc."
  216. ; manufacturer name
  217. S_Mfg="VMware, Inc."
  218.  
  219. ; device class display name, shown in Device Manager
  220. S_DeviceClassDisplayName="VMware USB devices"
  221.  
  222.  
  223.  
  224. ; device description
  225. S_DeviceDesc1="VMware USB Device"
  226.  
  227. ; disk name
  228. S_DiskName="VMware USB Driver Disk"
  229.  
  230.  
  231. ; file name of driver executable 
  232. ; If the name is modified, the _CopyFiles_sys section must also be modified !
  233. S_DriverName="vmusb"
  234.  
  235. ; service display name 
  236. S_ServiceDisplayName="VMware USB Client Driver"
  237.  
  238.  
  239. ; configuration registry path (where the registry parameters will be located)
  240. ; IMPORTANT: MUST BE underneath SYSTEM\CurrentControlSet\Services !
  241. ; The string should be build in the form:
  242. ; SYSTEM\CurrentControlSet\Services\<DriverName>
  243. S_ConfigPath="SYSTEM\CurrentControlSet\Services\vmusb"
  244.  
  245.  
  246. ; device-specific configuration registry path
  247. S_DeviceConfigPath1="Parameters"
  248.  
  249. ; device-specific base names
  250. ; Only needed if static device names are used, otherwise unused.
  251. ; See comments on the value USBIO_DeviceBaseName above.
  252. S_DeviceBaseName1="USBIO_Device"
  253.  
  254.  
  255.